package io.aircraft.modules.wms.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.aircraft.common.entity.WmsBaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-10-13
 */
@Data
@TableName("wms_task")
public class TaskEntity extends WmsBaseEntity {
	private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
	private Long taskId;
    /**
     * 业务类型
     */
	private String taskType;
    /**
     * 子类型
     */
	private String taskSubType;
    /**
     * 原始托盘
     */
	private String originContNo;
    /**
     * 目标托盘
     */
	private String targetContNo;
    /**
     * 商品编号
     */
	private String spuNo;
	private String lotNo;
    /**
     * 计划量
     */
	private BigDecimal planQnty;
    /**
     * 实际量
     */
	private BigDecimal actlQnty;
    /**
     * 起始位置
     */
	private String originPosition;
    /**
     * 目标位置
     */
	private String targetPosition;
	/**
	 * 当前位置
	 */
	private String currentPosition;
    /**
     * 单据编号
     */
    private Long mtId;
	private String mtNo;
	private Long dtId;
	private Long stockId;
    /**
     * 任务状态
     */
	private Integer taskSt;
	private Long creator;

	private Date createDate;

	private Long updater;

	private Date updateDate;

    /**
     * 备注
     */
	private String comments;
}